package com.parking.mgr.common.pojo.auth;

import com.parking.mgr.common.pojo.login.LoginUserInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.Map;

/**
 * @ClassName OAuthAccessToken
 * @Description TODO
 * @Auther: zhijianpu
 * @Date: 2023/5/24
 */
@Data
@Builder
public class OAuthAccessToken {

    @ApiModelProperty(value = "访问令牌")
    private String accessToken;

    @ApiModelProperty(value = "刷新令牌")
    private String refreshToken;

    @ApiModelProperty(value = "过期时间")
    private Long expiresIn;

    @ApiModelProperty(value = "用户信息")
    private LoginUserInfo userInfo;

    @ApiModelProperty(value = "附加信息")
    private Map<String, Object> extra;
}
